package com.example.competionmanagebackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.competionmanagebackend.entity.Competitions;

import java.util.List;

/**
 * @author Rui
 * @description 针对表【competitions】的数据库操作Mapper
 * @createDate 2025-02-20 00:49:23
 * @Entity com.example.competionmanagebackend.entity.Competitions
 */
public interface CompetitionsMapper extends BaseMapper<Competitions> {
    List<Competitions> selectAll();

    int insertCompetition(Competitions competition);
    int updateCompetition(Competitions competition);
    int deleteCompetitionById(Integer id);
}